package com.star.mall.base.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 验证成功返回数据
 * @author StarQ
 * @since 2021-06-03
 */
@Data
@EqualsAndHashCode
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "认证返回")
public class AuthResponse implements Serializable {

    @ApiModelProperty(value = "认证token")
    private String token;

    @ApiModelProperty(value = "有效时间")
    private Long expiration;

}
